﻿@model dynamic
@using Resources;
@{
    ViewBag.Title = "ListarCodigoDepHijos";
    Layout = "~/Views/Shared/Layaout/general/_LayoutPopGeneral.cshtml";
    int i = 0;
}
<br />
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.dependenciaJS)" ></script>
<fieldset style="width: 350px;" class="fieldsetStyle1">
    <legend class="tituloBlue9">Actualizar Datos de la Dependencia</legend>
    <table border="1" style="width: 350px;" cellpadding="2" cellspacing="0" class="tablaDetalle1">
        <tbody>
            <tr class="tituloDetalleBlue_1" align="left">
                <td style="width: 15px;">#</td>
                <td>Nombre Dependencia</td>
                <td style="width: 50px;">Código</td>
            </tr>
            @foreach (var item in Model)
            {
                i++;
                <tr class="@(i % 2 != 0 ? "odd" : "even")" align="left" id="trDet1@(i)" >
                    <td>@i</td>
                    <td>@item.vDescripcion</td>
                    <td><span class="letraLinkB8" onclick="javascript:seleccioneCoddep('@item.nCodDep');">@item.nCodDep</span></td>
                </tr>
            }
        </tbody>
    </table>
</fieldset>